package com.yunxi.model.order;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 渠道商信息
 * </p>
 *
 * @author Guan
 * @since 2019-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PmsPartner对象", description="渠道商信息")
public class PmsPartner implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "PARTNER_ID", type = IdType.UUID)
    private String partnerId;

    @ApiModelProperty(value = "渠道商代码")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "渠道商简称")
    @TableField("PARTNER_SIMPLE_NAME")
    private String partnerSimpleName;

    @ApiModelProperty(value = "渠道商名称")
    @TableField("PARTNER_NAME")
    private String partnerName;

    @ApiModelProperty(value = "渠道商类型")
    @TableField("PARTNER_TYPE")
    private Integer partnerType;

    @ApiModelProperty(value = "渠道商级别")
    @TableField("PARTNER_LEVEL")
    private String partnerLevel;

    @ApiModelProperty(value = "上级经销商")
    @TableField("PARENT_PARTNER_CODE")
    private String parentPartnerCode;

    @ApiModelProperty(value = "渠道商状态")
    @TableField("PARTNER_STATUS")
    private Integer partnerStatus;

    @ApiModelProperty(value = "法人代表")
    @TableField("LEGAL_PERSON")
    private String legalPerson;

    @ApiModelProperty(value = "联系人")
    @TableField("LINK_MAN")
    private String linkMan;

    @ApiModelProperty(value = "联系电话")
    @TableField("LINK_PHONE")
    private String linkPhone;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "省")
    @TableField("PROVINCE")
    private String province;

    @ApiModelProperty(value = "市")
    @TableField("CITY")
    private String city;

    @ApiModelProperty(value = "区")
    @TableField("REGION")
    private String region;

    @ApiModelProperty(value = "地址")
    @TableField("ADDR")
    private String addr;

    @ApiModelProperty(value = "坐标x")
    @TableField("GPS_X")
    private String gpsX;

    @ApiModelProperty(value = "坐标y")
    @TableField("GPS_Y")
    private String gpsY;

    @ApiModelProperty(value = "统一信用代码")
    @TableField("UNION_CREDIT_CODE")
    private String unionCreditCode;

    @ApiModelProperty(value = "注册资本")
    @TableField("REG_CAPITAL")
    private String regCapital;

    @ApiModelProperty(value = "注册来源")
    @TableField("REG_SOURCE")
    private String regSource;


}
